<template>
  <div>
    <NuxtLayout name="pinia-demo-layout">
      <template #header>
        <NuxtLink :to="{ name: 'pinia-demo-edit' }" class="px-4">
          编辑
        </NuxtLink>
        <NuxtLink :to="{ name: 'pinia-demo-detail' }" class="px-4">
          详情
        </NuxtLink>
      </template>
      <template #default>
        <NuxtPage />
      </template>
    </NuxtLayout>
  </div>
</template>

<script setup lang="ts"></script>

<style scoped></style>
